package com.graph.dto;

public class ProbabilityModelDto {
	/**
	 * 需要发现概率模体大小
	 */
	private   Integer n;
	/**
	 * 非树形子图的概率阈值
	 */
	private   double  p=0.5;
	/**
	 * 子图之间的失配值
	 */
	private   double  m=2;
	public Integer getN() {
		return n;
	}
	public void setN(Integer n) {
		this.n = n;
	}
	public double getP() {
		return p;
	}
	public void setP(double p) {
		this.p = p;
	}
	public double getM() {
		return m;
	}
	public void setM(double m) {
		this.m = m;
	}
	
	public Boolean isFinishbind(){
		if(n==null||m<=0||p<=0){
			return false;
		}
		return true;
	}
}
